home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Text⁄Files / Writeswell Jr. 1.0.2 Master / Writeswell Jr. Source / headers / ObWind.h < prev    next >
Text File  |  1992-04-23  |  1KB  |  43 lines

  1. /* ObWind.h
  2.  * Interface to routines to handle cWindow objects
  3.  * ©1992 Working Software, Inc.
  4.  * This source code is copyrighted.  Permission is granted to use the Word Services
  5.  * portion of the Writeswell Jr. source code in your own programs, but you 
  6.  * may not distribute the Writeswell Jr. word-processor code as a 
  7.  * commercial product.  If you modify the code, please do not call it 
  8.  * Writeswell Jr. (or Writeswell.)  This will ensure that people understand the 
  9.  * program and don’t have to deal with a number of different versions with 
  10.  * who-knows-what going on in the code.
  11.  * 
  12.  * Writeswell Jr. and Writeswell are trademarks of Working Software, Inc.
  13.  * 24 Dec 91 Mike Crawford
  14.  */
  15.  
  16. typedef struct {
  17.     WindowPtr theWindowPtr;
  18.     DescType    propertyCode;
  19. } WindTokenBody;
  20.  
  21. OSErr DispatchWind( AEDesc *tokenPtr,
  22.                         AppleEvent *theAppleEventPtr,
  23.                         AppleEvent *replyEventPtr,
  24.                         long refCon );
  25.  
  26. pascal OSErr WindFromNull(DescType desiredClass,
  27.                             const AEDesc *container,
  28.                             DescType containerClass,
  29.                             DescType form,
  30.                             const AEDesc *selectionData,
  31.                             AEDesc *value,
  32.                             long LongInt);
  33.  
  34. pascal OSErr PropFromWind(DescType desiredClass,
  35.                             const AEDesc *container,
  36.                             DescType containerClass,
  37.                             DescType form,
  38.                             const AEDesc *selectionData,
  39.                             AEDesc *theToken,
  40.                             long LongInt);
  41.  
  42. OSErr BuildWindowSpecifier( AEDesc *specPtr, long whichWindow );
  43.